<?php
function generate_table($width, $height){
    echo "<table border width = 40%>";
    for ($i = 1; $i<$width;$i++){
        echo "<tr>";
        for ($j = 1; $j<$height; $j++){
            echo "<td><p align = center>".$i.",".$j."</p></td>";
        }
    }echo "</tr>";
}

generate_table(10,10);
?>
